package com.bm.entity;

import java.util.List;

public class PageBean<T> {
	private int count;
	//每页多少
	List<T> data;
	private int pageSize;
	//一共多少页
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public PageBean(int count, int pageSize) {
		super();
		this.count = count;
		this.pageSize = pageSize;
	}
	public PageBean() {
		super();
	}
	public List<T> getList() {
		return data;
	}
	public void setList(List<T> data) {
		this.data = data;
	}
}
